Foxit PDF SDK
FoxitPDFSDKPython2.PointFArray类 参考

PointF对象数组。 更多...

类 FoxitPDFSDKPython2.PointFArray 继承关系图:
FoxitPDFSDKPython2.BasicArray

Public 成员函数

def PointFArray ()
 构造一个简单对象。
 
def PointFArray (other)
 用另一个数组对象构造。 更多...
 
def Add (newElement)
 在尾部添加元素。可能会增长数组。 更多...
 
def Find (data, iStart)
 从指定位置到最后查找元素。 更多...
 
def GetAt (nIndex)
 此方法检索由索引号指定的元素。 更多...
 
def GetSize ()
 获取数组中元素的数量。 更多...
 
def GetUpperBound ()
 获取数组中的上界,实际上是最大有效索引。 更多...
 
def InsertAt (nIndex, newElement, nCount)
 在指定位置插入一个或多个连续元素。 更多...
 
def RemoveAll ()
 清理数组。 更多...
 
def RemoveAt (nIndex, nCount)
 在指定位置移除若干元素。 更多...
 
def SetAt (nIndex, newElement)
 此方法覆盖由索引号指定的元素。 更多...
 
def SetAtGrow (nIndex, newElement)
 在指定位置设置元素值。可能会增长数组。 更多...
 
def SetSize (nNewSize, nGrowBy)
 更改分配的大小和增长量。 更多...
 

详细描述

PointF对象数组。

构造及析构函数说明

◆ PointFArray()

def FoxitPDFSDKPython2.PointFArray.PointFArray (   other)

用另一个数组对象构造。

参数
[in]other另一个数组对象。

成员函数说明

◆ Add()

def FoxitPDFSDKPython2.PointFArray.Add (   newElement)

在尾部添加元素。可能会增长数组。

参数
[in]newElement输入的元素。
返回
true 表示成功,false 表示失败(如内存错误)。

◆ Find()

def FoxitPDFSDKPython2.PointFArray.Find (   data,
  iStart 
)

从指定位置到最后查找元素。

参数
[in]data输入的元素。
[in]iStart指定开始查找的起始元素的基于零的索引。
返回
找到的元素的索引。-1表示未找到。

◆ GetAt()

def FoxitPDFSDKPython2.PointFArray.GetAt (   nIndex)

此方法检索由索引号指定的元素。

参数
[in]nIndex指定元素的基于零的索引。
返回
元素。

◆ GetSize()

def FoxitPDFSDKPython2.PointFArray.GetSize ( )

获取数组中元素的数量。

返回
数组中元素的数量。

◆ GetUpperBound()

def FoxitPDFSDKPython2.PointFArray.GetUpperBound ( )

获取数组中的上界,实际上是最大有效索引。

返回
上界。

◆ InsertAt()

def FoxitPDFSDKPython2.PointFArray.InsertAt (   nIndex,
  newElement,
  nCount 
)

在指定位置插入一个或多个连续元素。

在指定位置插入一个数组。

参数
[in]nIndex指定数组中的从零开始的索引。
[in]newElement指定要插入的元素值。
[in]nCount指定要插入的元素数量。
返回
true 表示成功,false 表示失败(如参数或内存错误)。
参数
[in]nStartIndex指定插入位置的起始元素的从零开始索引。
[in]pNewArray输入的数组。
返回
true 表示成功,false 表示失败(如参数或内存错误)。

◆ RemoveAll()

def FoxitPDFSDKPython2.PointFArray.RemoveAll ( )

清理数组。

返回
无。

◆ RemoveAt()

def FoxitPDFSDKPython2.PointFArray.RemoveAt (   nIndex,
  nCount 
)

在指定位置移除若干元素。

参数
[in]nIndex指定数组中的基于零的索引。
[in]nCount指定要移除的元素数量。
返回
true 表示成功,false 表示失败(如参数或内存错误)。

◆ SetAt()

def FoxitPDFSDKPython2.PointFArray.SetAt (   nIndex,
  newElement 
)

此方法覆盖由索引号指定的元素。

参数
[in]nIndex指定元素的基于零的索引。
[in]newElement元素。
返回
true 表示成功,false 表示失败。

◆ SetAtGrow()

def FoxitPDFSDKPython2.PointFArray.SetAtGrow (   nIndex,
  newElement 
)

在指定位置设置元素值。可能会增长数组。

参数
[in]nIndex指定数组中元素的基于零的索引。
[in]newElement输入的元素。
返回
true 表示成功,false 表示失败。

◆ SetSize()

def FoxitPDFSDKPython2.PointFArray.SetSize (   nNewSize,
  nGrowBy 
)

更改分配的大小和增长量。

参数
[in]nNewSize期望的新大小(以元素为单位)。
[in]nGrowBy期望的增长量(以元素为单位)。这可以为-1表示增长量不变。
返回
true 表示成功,false 表示失败(如参数或内存错误)。